<script language="javascript">
	function back(){
		document.location="<?php echo site_url(); ?>/master_matkul";
	}
</script>
<?php
echo form_open("/master_matkul/form_matkul/".$parameter, array("name"=>"form_matkul","id"=>"medic_form"));
if($parameter == FALSE){
	$nama	= set_value("nama");
} else {
	$nama	= $value["NAMA_MATA_KULIAH"];
}
?>
<p>
	<label>Mata Kuliah</label>
	<input type="text" name="nama" value="<?php echo $nama; ?>">
	<?php echo form_error("nama"); ?>
</p>
<p>
	<input type="submit" class="btn btn-primary" id="submit" value="Simpan">
	<input type="reset" class="btn btn-primary" id="submit" value="Reset">
	<input type="button" class="btn btn-primary" id="submit" value="Kembali" onClick="back()">
</p>
<?php echo form_close(); ?>